projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48fbe51
)
x11: Initialize GdkWindowAttr struct memory
author
Carlos Garnacho
<carlosg@gnome.org>
Thu, 7 Jan 2016 17:55:04 +0000
(18:55 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 8 Jan 2016 20:58:33 +0000
(21:58 +0100)
Valgrind complains about jumps based on uninitialized values
otherwise.
gdk/x11/gdkdnd-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdnd-x11.c
b/gdk/x11/gdkdnd-x11.c
index 86ecb8208cc82958592fac9ab0a4a15a57881961..69f1b94c91be2b4ebec301395dc395162a84c42f 100644
(file)
--- a/
gdk/x11/gdkdnd-x11.c
+++ b/
gdk/x11/gdkdnd-x11.c
@@
-1939,7
+1939,7
@@
gdk_drag_do_leave (GdkX11DragContext *context_x11,
static GdkWindow *
create_drag_window (GdkScreen *screen)
{
- GdkWindowAttr attrs;
+ GdkWindowAttr attrs
= { 0 }
;
guint mask;
attrs.x = attrs.y = 0;